package org.haifi.game.model;

import java.util.Map;

import com.google.common.collect.Maps;

/**
 * 地图
 * 
 * @author joycube2
 * 
 */
public class MapInstance {
	// 以下是运行时生成的数据

	/**
	 * 当前地图中的角色
	 */
	private Map<Integer, Player> players = Maps.newConcurrentMap();

	/**
	 * 当前地图中的npc
	 */
	private Map<Integer, Npc> npcs = Maps.newConcurrentMap();

	public Map<Integer, Player> getPlayers() {
		return players;
	}

	public void setPlayers(Map<Integer, Player> players) {
		this.players = players;
	}

	public Map<Integer, Npc> getNpcs() {
		return npcs;
	}

	public void setNpcs(Map<Integer, Npc> npcs) {
		this.npcs = npcs;
	}
}
